package com.alex.seo.service.scheduler;

public class GenericJobContext {

	private int timesTriggered;

	private int errorCount;

	public GenericJobContext(int timesTriggered, int errorCount) {
		super();
		this.timesTriggered = timesTriggered;
		this.errorCount = errorCount;
	}

	public int getTimesTriggered() {
		return timesTriggered;
	}

	public int getErrorCount() {
		return errorCount;
	}

	public void incTimesTriggered() {
		timesTriggered++;
	}
	
	public void incErrorCount() {
		errorCount++;
	}
}
